package com.example.newappchildrchinese.mode;

import com.activeandroid.Model;
import com.activeandroid.annotation.Column;
import com.activeandroid.annotation.Table;

import java.io.Serializable;

/**
 * Created by Aistt on 2015/12/11.
 */


@Table(name = "childrenchinese_course",id="course_id")
public class ChineseCourse extends Model implements Serializable {

    @Column(name = "class_id")
    private int class_id;

    @Column(name = "course_title")
    private String course_title;

    @Column(name = "course_content")
    private String course_content;

    public int getClass_id() {
        return class_id;
    }

    public void setClass_id(int class_id) {
        this.class_id = class_id;
    }

    public String getCourse_title() {
        return course_title;
    }

    public void setCourse_title(String course_title) {
        this.course_title = course_title;
    }

    public String getCourse_content() {
        return course_content;
    }

    public void setCourse_content(String course_content) {
        this.course_content = course_content;
    }

    @Override
    public String toString() {
        return "ChineseCourse{" +
                "class_id=" + class_id +
                ", course_title='" + course_title + '\'' +
                ", course_content='" + course_content + '\'' +
                '}';
    }
}
